package com.cisetech.job;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import com.cisetech.service.GlobalConfigService;

public class AccessTokenJob {
	private final static Logger log = LoggerFactory.getLogger(AccessTokenJob.class);
	@Autowired
	GlobalConfigService globalConfigService;
	public void work() {
//		 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
//		  Date date =  new Date();
//		  System.out.println(sdf.format(date) + "  执行Quartz定时器刷新全局token");
//		  globalConfigService.getAccessToken();
//		  log.info("now useful token----:"+AccessTokenHolder.get().getAccessToken());
//		  log.info("now useful ticket---:"+JSApiTicketHolder.get().getTickct());
		System.out.println("aaaaaaaaaaa");
		 }
}
